package com.smartpi.pojo;

public class Common {
	public static final String COMMAND_WATER_TEMP = "python /home/pi/python/waterTemperature.py";
	public static final String COMMAND_ROOM_TEMP_AND_RH = "python /home/pi/python/Adafruit_Python_DHT/examples/AdafruitDHT2.py 22 24";
	public static final String COMMAND_SOIL_RH = "python /home/pi/python/PCF2.py";
	public static final String COMMAND_OPEN_LIGHT = "python /home/pi/python/controlRelay.py 0 1";
	public static final String COMMAND_CLOSE_LIGHT = "python /home/pi/python/controlRelay.py 0 0";
	public static final String COMMAND_OPEN_FAN = "python /home/pi/python/controlRelay.py 1 1";
	public static final String COMMAND_CLOSE_FAN = "python /home/pi/python/controlRelay.py 1 0";
	public static final String COMMAND_OPEN_CURTAIN = "python /home/pi/python/controlCurtain.py 0";
	public static final String COMMAND_CLOSE_CURTAIN= "python /home/pi/python/controlCurtain.py 1";
	public static final String COMMAND_SAFE_DIGITAL = "python /home/pi/python/safeDigital.py";
	public static final String COMMAND_RING = "python /home/pi/python/ring.py";
	public static final String COMMAND_CAMERA = "/home/pi/python/camera.sh";
	
	
	// Servlet parm
	/**
	 * 0 close 1 open
	 */
	public static final String LIGHT_PARAMETER = "light";
	public static final String FAN_PARAMETER = "fan";
	public static final String CURTAIN_PARAMETER="curtain";

}
